package com.vinxin.app.boss.feign.config

import feign.codec.Decoder
import feign.codec.ErrorDecoder
import org.springframework.context.annotation.Bean


class BossFeignConfig {
    @Bean
    fun errorDecoder(): ErrorDecoder = BossFeignErrorDecoder()

    @Bean
    fun decoder(): Decoder = BossFeignDecoder()
}